package com.kn.sys.model;

import java.util.Date;

public class User {
    private Long id;

    private Long factoryId;

    private String username;

    private String cname;

    private String password;

    private Boolean gender;

    private String phone;

    private Boolean isdel;

    private String roles;

    private Boolean isstop;

    private Boolean isteam;

    private String remarks;

    private Long opid;

    private Date optime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Long factoryId) {
        this.factoryId = factoryId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getGender() {
        return gender;
    }

    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Boolean getIsdel() {
        return isdel;
    }

    public void setIsdel(Boolean isdel) {
        this.isdel = isdel;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    public Boolean getIsstop() {
        return isstop;
    }

    public void setIsstop(Boolean isstop) {
        this.isstop = isstop;
    }

    public Boolean getIsteam() {
        return isteam;
    }

    public void setIsteam(Boolean isteam) {
        this.isteam = isteam;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Long getOpid() {
        return opid;
    }

    public void setOpid(Long opid) {
        this.opid = opid;
    }

    public Date getOptime() {
        return optime;
    }

    public void setOptime(Date optime) {
        this.optime = optime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", factoryId=").append(factoryId);
        sb.append(", username=").append(username);
        sb.append(", cname=").append(cname);
        sb.append(", password=").append(password);
        sb.append(", gender=").append(gender);
        sb.append(", phone=").append(phone);
        sb.append(", isdel=").append(isdel);
        sb.append(", roles=").append(roles);
        sb.append(", isstop=").append(isstop);
        sb.append(", isteam=").append(isteam);
        sb.append(", remarks=").append(remarks);
        sb.append(", opid=").append(opid);
        sb.append(", optime=").append(optime);
        sb.append("]");
        return sb.toString();
    }
}